<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/19
 * Time: 16:17
 */

namespace app\ext\model;


use think\Model;

class CateModel extends Model
{
    public function cateList($f_id = 0)
    {
        return db('cate')->where(['f_id'=>$f_id])->select();
    }

    public function cateInfo($id = 0)
    {
        return db('cate')->where(['id'=>$id])->find();
    }
}